package com.wy.repository;

import com.wy.pojo.User;

import com.wy.pojo.UserTest;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.NoRepositoryBean;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

/**
 * @Author: wy
 * @Date:2019/10/26 23:03
 */

/**
 *  继承CRUD，第一个泛型是实体类类型，第二个泛型是id的类型
 */

public interface UserTestDao extends ElasticsearchRepository<UserTest,Long> {


}
